package com.czr.dao.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.czr.dao.entity.CzrBusi;
import com.czr.dto.CzrBusiParam;
import com.czr.dto.Search;
import com.czr.dto.StatusParam;
import com.czr.vo.Result;

import java.util.Map;

/**
 * <p>
 * 名企推荐 服务类
 * </p>
 *
 */
public interface CzrBusiService extends IService<CzrBusi> {

    Result<Object> list(Search search) throws Exception ;

    Result<Map<String,Object>> add(CzrBusiParam czrBusiParam,Integer userId) throws Exception ;

    Result<Map<String,Object>> update(CzrBusi czrBusi) throws Exception ;

    Result<Object> glList(StatusParam statusParam) throws Exception ;

    Result<Map<String,Object>> delBusi(Integer busiId, JSONObject cacheToken) throws Exception ;
}
